package org.jeecg.modules.param.fault.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 设备预警消息
 * @Author: 月月鸟
 * @Date:   2021-06-03
 * @Version: V1.0
 */
@Data
@TableName("bike_fault_warn")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_fault_warn对象", description="设备预警消息")
public class BikeFaultWarn implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**预警编号*/
	@Excel(name = "预警编号", width = 15)
    @ApiModelProperty(value = "预警编号")
    private java.lang.String code;
	/**所属网点*/
	@Excel(name = "所属网点ID", width = 15)
    @ApiModelProperty(value = "所属网点ID")
    private java.lang.String stationId;
    @Excel(name = "所属网点编号", width = 15)
    @ApiModelProperty(value = "所属网点编号")
    @TableField(exist = false)
    private java.lang.String stationCode;
    @Excel(name = "所属网点名称", width = 15)
    @ApiModelProperty(value = "所属网点名称")
    @TableField(exist = false)
    private java.lang.String stationName;
    @Excel(name = "所属网点区域", width = 15)
    @ApiModelProperty(value = "所属网点区域")
    @TableField(exist = false)
    private java.lang.String stationArea;

	/**所属车桩*/
	@Excel(name = "所属车桩", width = 15)
    @ApiModelProperty(value = "所属车桩")
    private java.lang.String pileId;
    @Excel(name = "所属车桩编号", width = 15)
    @ApiModelProperty(value = "所属车桩编号")
    @TableField(exist = false)
    private java.lang.String pileCode;

	/**车辆*/
	@Excel(name = "车辆", width = 15)
    @ApiModelProperty(value = "车辆")
    private java.lang.String vehicleId;
    /**报警原因*/
    @Excel(name = "报警原因", width = 15)
    @ApiModelProperty(value = "报警原因")
    private java.lang.String warnType;
    /**问题描述*/
    @Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private java.lang.String content;
    /**是否派单 1是0否	*/
    @Excel(name = "是否派单", width = 15 ,dicCode = "yn")
    @ApiModelProperty(value = "是否派单")
    @Dict(dicCode = "yn")
    private java.lang.String isDispatch;
    /**是否解决  1 已解决 0 未解决	*/
    @Excel(name = "是否解决", width = 15,dicCode = "is_solve")
    @ApiModelProperty(value = "是否解决")
    @Dict(dicCode = "is_solve")
    private java.lang.String isSolve;
	/**转工单时间*/
	@Excel(name = "转工单时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "转工单时间")
    private java.util.Date dispatchTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
}
